﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Admin/Admin.Master" Inherits="System.Web.Mvc.ViewPage<ShopOnline.Models.ChangePasswordModel>" %>

<asp:Content ID="changePasswordTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Thay đổi mật khẩu
</asp:Content>

<asp:Content ID="changePasswordContent" ContentPlaceHolderID="MainContent" runat="server">
    
    <form enctype="multipart/form-data" method="post">
    <div class="w_container fl">
        <div id="Login" class="ui-widget-content ui-corner-all">
            <div class="sub_container fl">
                <div class="w_container m20-tb fl text-c title-h1">
                   CÔNG TY CỔ PHẦN XÂY DỰNG CÔNG TRÌNH GIAO THÔNG 610
                </div>
                <div class="w_container titleheader m20-tb bold cl-1 fl ">
                    THÊM MỚI TÀI KHOẢN</div>
                <div align="center" style="width: 100%;">
                    <%=Html.ValidationSummary()%>
                    <%       
                        if (Html.ValidationSummary() != null)
                        {%>

                    <script type="text/javascript">
                        $("ul.validation-summary-errors").addClass("ui-state-error ui-corner-all ui-border");
                        $("ul.validation-summary-errors").css("padding", " 0pt 0.7em");
                        $("ul.validation-summary-errors").css("display", "block");
                        $("ul.validation-summary-errors").css("margin", "10px 15px 0px 15px");
                    </script>

                    <%}%>
                </div>
                <div class="w_container">
                    <div class=" w_container fl m5-tb">
                        <div class=" title-item fl">
                             Mật khẩu cũ
                        </div>
                        <div class="input-item fl">
                            <%= Html.PasswordFor(m => m.OldPassword) %>
                            <%= Html.ValidationMessageFor(m => m.OldPassword) %>
                        </div>
                    </div>
                    <div class=" w_container fl m5-tb">
                        <div class=" title-item fl">
                            Mật khẩu mới
                        </div>
                        <div class="input-item fl">                         
                            <%= Html.PasswordFor(m => m.NewPassword) %>
                            <%= Html.ValidationMessageFor(m => m.NewPassword) %>
                        </div>
                    </div>
                    <div class=" w_container fl m5-tb">
                        <div class=" title-item fl">
                           Nhập lại mật khẩu
                        </div>
                        <div class="input-item fl">                         
                            <%= Html.PasswordFor(m => m.ConfirmPassword) %>
                            <%= Html.ValidationMessageFor(m => m.ConfirmPassword) %>
                        </div>
                    </div>
                    
                    <div class=" w_container fl m5-tb">
                        <div class=" title-item fl">
                            &nbsp;
                        </div>
                        <div class="input-item fl">
                            <input type="submit" value="Đăng ký" class="button ui-state-default ui-corner-all fl" />
                            <a class="ui-state-default ui-corner-all button fl" href="/Admin/Index">
                            Hủy Bỏ </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </form>
</asp:Content>
